import {http} from "../request"

export const decrementCountApi = async(bookId:number)=>{
    const Token = localStorage.getItem("userToken")
    return await http.post(`shoppingCar/decreaseCount?bookId=${bookId}`,"",{
        headers:{
            jwt:Token
        }
    })
}